{include file="header.html"}
<script type="text/javascript">
$(function(){
    $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
    $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
<div id="rightTop">
  <p>{$lang.deposit_manage}</p>
  <ul class="subnav">
    <li><span>{$lang.manage}</span></li>
    <li><a class="btn1" href="index.php?app=deposit&amp;act=tradelist">{$lang.trade_manage}</a></li>
    <li><a class="btn1" href="index.php?app=deposit&amp;act=drawlist">{$lang.withdraw_manage}</a></li>
    <li><a class="btn1" href="index.php?app=deposit&amp;act=rechargelist">{$lang.recharge_manage}</a></li>
    <li><a class="btn1" href="index.php?app=deposit&amp;act=setting">{$lang.system_setting}</a></li>
  </ul>
</div>

<div class="mrightTop">
	<div class="fontl">
        <form method="get">
             <div class="left">
                <input type="hidden" name="app" value="deposit" />
                <input type="hidden" name="act" value="index" />
                <select class="querySelect" name="field">{html_options options=$search_options selected=$smarty.get.field}
                </select>:<input class="queryInput" type="text" name="search_name" value="{$smarty.get.search_name}" />
                {$lang.pay_status}:
                <select class="querySelect" name="pay_status">
                    <option value="">{$lang.no_limit}</option>
                    {html_options options=$pay_status_list selected=$smarty.get.pay_status}
                </select>
                {$lang.add_time_from}:<input class="queryInput2" type="text" value="{$query.add_time_from}" id="add_time_from" name="add_time_from" class="pick_date" />
                {$lang.to}:<input class="queryInput2" type="text" value="{$query.add_time_to}" id="add_time_to" name="add_time_to" class="pick_date" />
                {$lang.money_from}:<input class="queryInput2" type="text" value="{$query.money_from}" name="money_from" />
                {$lang.to}:<input class="queryInput2" type="text" style="width:60px;" value="{$query.money_to}" name="money_to" class="pick_date" />
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=deposit">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
  	<div class="fontr">{include file=page.top.html}</div>
</div>
<div class="tdare">
  <form method=get>
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $accountlist}-->
    <tr class="tatr1">
      <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td>{$lang.account_name} | {$lang.real_name}</td>
      <td>{$lang.username}</td>
      <td><span>{$lang.money}</span></td>
      <td><span>{$lang.frozen}</span></td>
      <td><span>{$lang.pay_status}</span></td>
      <td><span>{$lang.add_time}</span></td>
      <td>{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$accountlist item=account}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$account.user_id}" /></td>
      <td>{$account.account|escape} | {$account.real_name|escape}</td>
      <td>{$account.user_name}</td>
      <td>{$account.money|escape}</td>
      <td>{$account.frozen|escape}</td>
      <td>{if $account.pay_status eq 'ON'}{$lang.yes}{else}{$lang.no}{/if}</td>
      <td>{$account.add_time|date:Y-m-d H:i:s}</td>
      <td>
		<a href="index.php?app=deposit&amp;act=edit&amp;id={$account.account_id}">{$lang.edit}</a> | <a href="index.php?app=deposit&amp;act=recharge&amp;id={$account.account_id}">{$lang.recharge}</a> | <a href="index.php?app=deposit&amp;act=monthbill&amp;user_id={$account.user_id}">{$lang.monthbill}</a> |<a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=deposit&amp;act=drop&amp;id={$account.account_id}');">{$lang.drop}</a>
      </td>
      
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="10">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  </form>
  <!--{if $accountlist}-->
  <div id="dataFuncs">
    <div id="batchAction" class="left paddingT15"> &nbsp;&nbsp;
      <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=deposit&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
    </div>
    <div class="pageLinks">{include file=page.bottom.html}</div>
    <div class="clear"></div>
  </div>
  <!--{/if}-->
</div>
{include file="footer.html"} 